maths working model on magic square